// tabBarComponent/tabBar.js
const app = getApp();
Component({
  /**
   * 组件的属性列表
   */
  properties: {
    tabbar: {
      type: Object,
      value: {
        "color": "#999999",
        "selectedColor": "#585CF7",
        "list": [
          {
            "pagePath": "pages/index/index",
            "iconPath": "images/index/djsy3.png",
            "selectedIconPath": "images/index/sy3.png",
            "text": "首页"
          },
          {
            "pagePath": "pages/news/news",
            "iconPath": "images/index/sj3.png",
            "selectedIconPath": "images/index/djsj3.png",
            "text": "待审批"
          },
          {
            "pagePath": "pages/partner/partner",
            "iconPath": "images/index/hhr3.png",
            "selectedIconPath": "images/index/djhhr3.png",
            "text": "合伙人"
          },
          {
            "pagePath": "pages/wallet/wallet",
            "iconPath": "images/index/dd3.png",
            "selectedIconPath": "images/index/djdd3.png",
            "text": "订单"
          },
          {
            "pagePath": "pages/referenceprice/referenceprice",
            "iconPath": "images/index/qb3.png",
            "selectedIconPath": "images/index/djqb3.png",
            "text": "钱包"
          }
        ]
      }
    }
  },

  /**
   * 组件的初始数据
   */
  data: {
    // isIphoneX: app.globalData.systemInfo.model.search('iPhone X') != -1 ? true : false
    isIphoneX: false
  },

  /**
   * 组件的方法列表
   */
  methods: {

  }
})
